@@ -9,7 +9,7 @@ ZSH_THEME="clean" |
||
| 9 | 9 |
|
| 10 | 10 |
# Example aliases |
| 11 | 11 |
# alias zshconfig="mate ~/.zshrc" |
| 12 |
-# alias ohmyzsh="mate ~/.oh-my-zsh" |
|
| 12 |
+alias ohmyzsh="mate ~/.oh-my-zsh" |
|
| 13 | 13 |
|
| 14 | 14 |
# Set to this to use case-sensitive completion |
| 15 | 15 |
# CASE_SENSITIVE="true" |
@@ -24,10 +24,10 @@ DISABLE_AUTO_UPDATE="true" |
||
| 24 | 24 |
# DISABLE_LS_COLORS="true" |
| 25 | 25 |
|
| 26 | 26 |
# Uncomment following line if you want to disable autosetting terminal title. |
| 27 |
-# DISABLE_AUTO_TITLE="true" |
|
| 27 |
+DISABLE_AUTO_TITLE="true" |
|
| 28 | 28 |
|
| 29 | 29 |
# Uncomment following line if you want red dots to be displayed while waiting for completion |
| 30 |
-# COMPLETION_WAITING_DOTS="true" |
|
| 30 |
+COMPLETION_WAITING_DOTS="true" |
|
| 31 | 31 |
|
| 32 | 32 |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) |
| 33 | 33 |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
@@ -36,6 +36,8 @@ plugins=(git) |
||
| 36 | 36 |
|
| 37 | 37 |
source $ZSH/oh-my-zsh.sh |
| 38 | 38 |
|
| 39 |
+ |
|
| 40 |
+ |
|
| 39 | 41 |
# TextMate |
| 40 | 42 |
export TEXTMATE_PATH=/Applications/TextMate.app/Contents/Resources/mate |
| 41 | 43 |
mate () {
|
@@ -46,13 +48,47 @@ export LC_CTYPE=en_US.UTF-8 |
||
| 46 | 48 |
|
| 47 | 49 |
export EDITOR=pico |
| 48 | 50 |
|
| 51 |
+# Mou |
|
| 52 |
+alias mou="open /Applications/Mou.app" |
|
| 53 |
+alias rails_notes="open /Applications/Mou.app ~/Dev/rails_notes/index.md" |
|
| 54 |
+ |
|
| 55 |
+# Postgre App |
|
| 56 |
+export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin |
|
| 57 |
+ |
|
| 49 | 58 |
# Get the aliases and functions |
| 50 | 59 |
if [ -f ~/.bash_aliases ]; then |
| 51 | 60 |
. ~/.bash_aliases |
| 52 | 61 |
fi |
| 53 | 62 |
|
| 54 |
-[[ -s ~/.bashrc ]] && source ~/.bashrc |
|
| 63 |
+# [[ -s ~/.bashrc ]] && source ~/.bashrc |
|
| 64 |
+ |
|
| 65 |
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting |
|
| 66 |
+ |
|
| 67 |
+ |
|
| 68 |
+# Start Avalanche project |
|
| 69 |
+avalanche2_start (){
|
|
| 70 |
+ # Open postgres app |
|
| 71 |
+ echo "Starting Postgre App" |
|
| 72 |
+ open /Applications/Postgres.app |
|
| 73 |
+ # Open project in texmate |
|
| 74 |
+ echo "Opening TextMate project" |
|
| 75 |
+ mate ~/dev/avalanche2 |
|
| 76 |
+ cd ~/dev/avalanche2 |
|
| 77 |
+ # start rails server |
|
| 78 |
+ echo "Starting Foreman server" |
|
| 79 |
+ cd ~/dev/avalanche2 |
|
| 80 |
+ foreman start |
|
| 81 |
+} |
|
| 82 |
+ |
|
| 83 |
+# Open oh-my-zsh configurations in text mate |
|
| 84 |
+alias zshell="mate ~/.zshrc" |
|
| 85 |
+ |
|
| 86 |
+# SSH |
|
| 87 |
+ssh_dev_machine () { ssh root@104.236.21.94 }
|
|
| 88 |
+ssh_gitlab () { ssh root@104.236.77.111 }
|
|
| 55 | 89 |
|
| 56 |
-plugins=(rails3 git ruby brew gollum) |
|
| 90 |
+# Gist |
|
| 91 |
+source /usr/share/gist/gist.bash |
|
| 57 | 92 |
|
| 58 |
-alias gollum="/Users/james/dev/gollum/bin/gollum" |
|
| 93 |
+# teamocil autocomplete |
|
| 94 |
+compctl -g '~/.teamocil/*(:t:r)' teamocil |